package com.foreveross.fetl.application.impl;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.foreveross.fetl.application.ICsairTaobaoApplication;
import com.foreveross.fetl.common.application.BaseApplicationImpl;
import com.foreveross.fetl.core.domain.freight.CsairTaobaoEntity;

@Transactional
@Service("csairTaobaoApplication")
public class CsairTaobaoApplicationImpl extends BaseApplicationImpl implements
		ICsairTaobaoApplication {

	@Override
	public int createReport(List<String> airCompanys,
			List<String> compareChanels, String formCity, String toCity,
			Date reportDate, Date endTime ,Date flightDate) {
		CsairTaobaoEntity entity=new CsairTaobaoEntity();
		return entity.createReport(airCompanys, compareChanels, formCity, toCity, reportDate,endTime, flightDate);
	}

}
